package com.javabase.fzr1.Xunhuan;

public class dowhileExercise01 {
    public static void main(String[] args) {
        int i = 1;
        int sum = 0;
        do {
            System.out.println(i);
            System.out.println(sum);
            i++;
            sum += i;
        }while (i<=100);
    }
}
